74听书[听].js 1.2 KB

123456789101112131415161718192021222324252627
  1. var rule = {
  2. title: '74听书',
  3. host: 'https://www.ting74.com',
  4. // homeUrl:'/sort/xuanhuan.html',
  5. url:'/sort/fyclass/fypage.html',
  6. searchUrl: '/search.html#searchtype=novelname&searchword=**&page=fypage;post',
  7. searchable: 0,
  8. quickSearch: 0,
  9. filterable:0,
  10. headers:{'User-Agent':'PC_UA'},
  11. timeout:5000,//网站的全局请求超时,默认是3000毫秒
  12. class_parse: '.nav-ol&&li:gt(0):lt(8);a&&Text;a&&href;/(\\w+).html',
  13. play_parse:true,
  14. // lazy:"js:var url=jsp.pdfh(request(input),'iframe&&src');var purl=request('http://www.ting74.com'+url).match(/mp3:'(.*?)'/)[1];input={jx:0,url:purl,parse:0}",
  15. limit:6,
  16. 推荐:'#myTab_Content0&&.tab-li;.tab-book-title&&Text;*;.tab-book-author&&Text;*',
  17. 一级:'.list-works&&li;.list-book-dt&&a&&Text;.lazy&&data-original;.book-author--aria:eq(2)&&Text;a&&href',
  18. 二级:{
  19. "title":".book-cover&&alt;.book-info&&dd--span:eq(1)&&Text",
  20. "img":".book-cover&&src",
  21. "desc":".book-info&&dd:eq(4)&&Text;;;.book-info&&dd:eq(3)&&Text;.book-info&&dd:eq(2)&&Text",
  22. "content":".book-des&&Text",
  23. "tabs":".playlist-top&&h2",
  24. "lists":"#playlist:eq(#id)&&li"
  25. },
  26. 搜索:'*',
  27. }